# -- coding: utf-8 --
# @Time : 2021/3/17--19:54
# @Author : ChinaV
# @File : 基本操作题 2：随机数平均值.py

import random
random.seed(1)
n = eval(input())
sum = 0
for i in range(n):
    fl = random.uniform(1,100)
    sum += fl
    print("{:.2f}".format(fl))
print('The average is:{:.2f}'.format(sum/n))